<?php
namespace Home\Controller;
use Think\Controller;
class NoteController extends Controller {

	//全部
    public function all(){
    	$user = M('user')->find($_SESSION['id']);   //通过id找到对应的用户信息
        $this->assign('user',$user); 

	    $this->display();
    }


    //未结贴
    public function note(){
    	$user = M('user')->find($_SESSION['id']);   //通过id找到对应的用户信息
        $this->assign('user',$user); 


    	$this->display();
    }

    //已采纳
    public function save(){
    	$user = M('user')->find($_SESSION['id']);   //通过id找到对应的用户信息
        $this->assign('user',$user); 
    	$this->display();
    }

    //精贴
    public function best(){
    	$user = M('user')->find($_SESSION['id']);   //通过id找到对应的用户信息
        $this->assign('user',$user); 
    	$this->display();
    }
   


}

